<div class="btn-group" data-toggle="buttons">
    @foreach($options as $option => $label)
    <label class="btn btn-default {{ request()->get('type', 'hour') == $option ? 'active' : '' }}">
        <input type="radio" class="user-gender" value="{{ $option }}"> {{$label}}
    </label>
    @endforeach
</div>

<script>
    $(function (){
        var input = $('input[type="radio"][value="{{$default}}"]');
        input.trigger('click');
    })
</script>
